package com.and9.mchen.mcmusic.dao.factory;

import com.and9.mchen.mcmusic.dao.IMusicStyleDao;
import com.and9.mchen.mcmusic.util.EntityHelper;

public class MusicStyleDaoFactory {

	private IMusicStyleDao musicStyleDao = null;
	private static MusicStyleDaoFactory instance = new MusicStyleDaoFactory();
	
	private  MusicStyleDaoFactory(){
		musicStyleDao=(IMusicStyleDao) EntityHelper.createDaoByProperty("IMusicStyleDaoClass");
	}
	public static MusicStyleDaoFactory getInstance(){
		return instance;
	}
	public IMusicStyleDao getMusicStyleDao(){
		return musicStyleDao;
	}
	
}
